﻿@Small_Terraform_Project_Cost = 1000
@Mediumall_Terraform_Project_Cost = 1200


## Make this generic,

## Levees, Hydralic Fracturing Station, Swamp control, rainmaking, and moisture control network.
## Like generic great shipyards


building_sea_dyke_system = {
	building_group = bg_nonprofit_terraform_station
	texture = "gfx/interface/icons/Mod_Nuclear_Terraform_Station_Icons/generic_sea_dyke_system.jpg"
	city_type = port
	expandable = no
	downsizeable = no
	# unique = yes

	
	
	production_method_groups = {
		pmg_base_sea_dykes
		# Uses huge amount of steel, iron, and machinery (normal engines), provide benefits.
	}

	unlocking_technologies = { 
		weather_control_systems
	}
	
	# required_construction = construction_cost_monument
	required_construction = 1000
	
	possible = {
		error_check = {
			severity = invalid

			OR = {
				this = {
					state_region = s:STATE_LOUISIANA
				}
				this = {
					state_region = s:STATE_HOLLAND
				}
				this = {
					state_region = s:STATE_FRIESLAND
				}
				# this = {
					# state_region = s:STATE_JAVA
				# }
			}
		}
	}
}


building_rainmaking_array = {
	building_group = bg_nonprofit_terraform_station
	texture = "gfx/interface/icons/Mod_Nuclear_Terraform_Station_Icons/generic_rainmaking_array.dds"
	city_type = farm
	expandable = no
	downsizeable = no
	unique = yes

	
	
	production_method_groups = {
		# pmg_base_colorado_rainmaking_array

		pmg_base_rainmaking_array
		# Use airplanes.
	}

	unlocking_technologies = { 
		weather_control_systems
	}
	
	# required_construction = construction_cost_monument
	required_construction = 1000
	
	possible = {
		error_check = {
			severity = invalid
			OR = {
				this = {
					state_region = s:STATE_COLORADO
				}
				this = {
					state_region = s:STATE_SOUTH_DAKOTA
				}
				this = {
					state_region = s:STATE_NORTH_DAKOTA
				}
				this = {
					state_region = s:STATE_GANSU
				}
				this = {
					state_region = s:STATE_DZUNGARIA
				}
				#this = {
				#	state_region = s:STATE_SHAANXI
				#}
				this = {
					state_region = s:STATE_SHANXI
				}
				this = {
					state_region = s:STATE_URALSK
				}
			}
		}
	}
}

building_moisture_control = {
	building_group = bg_nonprofit_terraform_station
	texture = "gfx/interface/icons/Mod_Nuclear_Terraform_Station_Icons/generic_moisture_control.jpg"
	city_type = city
	expandable = no
	downsizeable = no
	unique = yes

	
	
	production_method_groups = {
		# 		pmg_base_oregon_moisture_control

		pmg_base_moisture_control
		# Uses fuel, electricity, and nuclear engines, provide benefits.
	}

	unlocking_technologies = { 
		weather_control_systems
	}
	
	# required_construction = construction_cost_monument
	required_construction = 1000
	
	possible = {
		error_check = {
			severity = invalid

			OR = {
				this = {
					state_region = s:STATE_OREGON
				}
				#this = {
				#	state_region = s:STATE_GUANGZHOU
				#}
				#this = {
				#	state_region = s:STATE_HUBEI
				#}
			}
		}
	}
}

building_swamp_drainage = {
	building_group = bg_nonprofit_terraform_station
	texture = "gfx/interface/icons/Mod_Nuclear_Terraform_Station_Icons/generic_swamp_drainage.jpg"
	city_type = city
	expandable = no
	downsizeable = no
	unique = yes
	
	

	production_method_groups = {
		# 		pmg_base_louisiana_swamp_drain

		pmg_base_swamp_drain
		# Give a lot of electricity, and add modifier to Arizona
	}

	unlocking_technologies = { 
		weather_control_systems
	}
	
	# required_construction = construction_cost_monument
	required_construction = 1000
	
	possible = {
		error_check = {
			severity = invalid

			OR = {
				this = {
					state_region = s:STATE_LOUISIANA
				}
				this = {
					state_region = s:STATE_FLORIDA
				}
				this = {
					state_region = s:STATE_GEORGIA
				}
				this = {
					state_region = s:STATE_MINSK
				}
				#this = {
				#	state_region = s:STATE_CARACAS
				#}
			}
		}
	}
}


building_hydraulic_fracturing_station = {
	building_group = bg_for_profit_terraform_station
	texture = "gfx/interface/icons/Mod_Nuclear_Terraform_Station_Icons/hydraulic_fracturing_station.jpg"
	city_type = mine
	expandable = no
	downsizeable = no
	#unique = yes

	

	ai_value = 1600

	#locator = "eiffel_tower_locator"
	
	#entity_not_constructed = { }
	#entity_under_construction = { "building_construction_3x3_entity" }
	#entity_constructed = { "eiffel_tower_entity"}
	
	#city_gfx_interactions = {
	#	clear_size_area = yes
	#	size = 3
	#}
	
	production_method_groups = {
		pmg_base_hydralic_fracturing
		# Give hell load of oil,
	}

	unlocking_technologies = { 
		land_based_mega_structures
	}
	
	# required_construction = construction_cost_monument
	required_construction = 1000
	
	possible = {
		error_check = {
			severity = invalid
			OR = {
				this = {
					state_region = s:STATE_TEXAS
				}
				this = {
					state_region = s:STATE_OKLAHOMA
				}
				this = {
					state_region = s:STATE_KANSAS
				}
				this = {
					state_region = s:STATE_ALBERTA
				}
				this = {
					state_region = s:STATE_PENNSYLVANIA
				}
			}
		}
	}
}